{% extends "home.html" %}

{% block articles %}
<div class="articles">

    {% for board in boards %}
    {{ board_box(board) }}
    {% endfor %}
</div>
<div style="clear:both;"></div>
<ul id="navigation" class="hidden">
    {% if cursor %}
    <li>
        <a href="/api/board/cursor/?curs={{ cursor }}" id="next">Next</a>
    </li>
    {% endif %}
</ul>
<img class="loading-gif hidden" src="/assets/img/loader.gif" />

{% endblock %}

{% block extra_tpl %}
{% endblock %}

{% block articles_js_data %}
{% endblock %}

{% block js_plugins %}
{% endblock %}

{% block js_data %}
<script type="text/javascript">
    //<![CDATA[
    {% if boards_of_user %}
    SB.userBoards = {{boards_of_user}};
    {% endif %}
    //]]
</script>

{% endblock %}

{% block extra_js %}
<script src="/assets/js/app/board.js"></script>
{% endblock %}